<?php /* Smarty version Smarty-3.1.7, created on 2012-04-10 15:31:35
         compiled from ".\templates\member_add_input.tpl" */ ?>
<?php /*%%SmartyHeaderCode:244694f791735b53540-14442541%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '79e2e98c67f425108de2fcef5eb5781d5a9d91a7' => 
    array (
      0 => '.\\templates\\member_add_input.tpl',
      1 => 1334039387,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '244694f791735b53540-14442541',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_4f791735c948a',
  'variables' => 
  array (
    'error_nickname_yn' => 0,
    'error_mailaddress_yn' => 0,
    'error_mailaddress_already' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f791735c948a')) {function content_4f791735c948a($_smarty_tpl) {?><html>
<head>
<?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</head>
<body>
<h1>SHONAN BBS 管理画面</h1>
<hr noshade size="1">
<div id="content">
  <div id="contentLeft">

  <h2>ユーザ新規追加</h2>
  <form action="./member_add_confirm.php" method="post">
  <div class="tblData">
  <table>
  <tr>
    <th>ニックネーム</th>
    <td><input type="text" name="nickname" size="20">
<?php if ($_smarty_tpl->tpl_vars['error_nickname_yn']->value==htmlspecialchars("y")){?>
<font color="red">ニックネームが空です</font>
<?php }?>
    </td>
  </tr>
  <tr>
    <th>メールアドレス</th>
    <td><input type="text" name="mailaddress" size="60">
<?php if ($_smarty_tpl->tpl_vars['error_mailaddress_yn']->value=="y"){?>
<font color="red">メールアドレスが空です</font>
<?php }elseif($_smarty_tpl->tpl_vars['error_mailaddress_already']->value==htmlspecialchars("y")){?>
<font color="red">このメールアドレスは使われています</font>
<?php }?>
    </td>
  </tr>
  <tr>
    <th>パスワード</th>
    <td><input type="password" name="password" size="10">
<?php if ($_smarty_tpl->tpl_vars['error_nickname_yn']->value==htmlspecialchars("y")){?>
<font color="red">パスワードが空です</font>
<?php }?>
    </td>
  </tr>
  <tr>
    <th>管理者権限</th>
    <td>
    <input type="radio" name="admin_yn" value="y">あり
    <input type="radio" name="admin_yn" value="n" checked="checked">なし
    </td>
  </tr>
    </table>
  </div>
  <input type="submit" name="submit" value="確認する">
  </form>

  </div>
  <div id="contentRight">
<?php echo $_smarty_tpl->getSubTemplate ("menu.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

  </div>
</div>
<div class="clr"></div>
<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</body>
</html><?php }} ?>